import Layout from '@/layout'

export default {
  path: '/transport',
  component: Layout,
  meta: { title: '调度管理', icon: 'el-icon-guide' },
  redirect: '/transport',
  children: [
    {
      path: '/transport/transport-task',
      name: 'transport-task',
      component: () => import('@/views/transport/transport-task/index'),
      meta: { title: '运输任务管理', icon: '' }
    },
    {
      path: '/transport/line-manage',
      name: 'line-manage',
      component: () => import('@/views/transport/line-manage/index'),
      meta: { title: '线路管理', icon: '' }
    },
    {
      path: '/transport/pick-uptask',
      name: 'pick-uptask',
      component: () => import('@/views/transport/pick-uptask/index'),
      meta: { title: '取件作业管理', icon: '' }
    },
    {
      path: '/transport/dispatch-task',
      name: 'dispatch-task',
      component: () => import('@/views/transport/dispatch-task/index'),
      meta: { title: '派件作业管理', icon: '' }
    }
  ]
}
